Skip to content

Fix syntax highlighting in code blocks - #361

Merged
nastena1606 merged 1 commit into
percona:mainfrom
nastena1606:fix-syntax-highlighting
Dec 3, 2026
Merged

nastena1606 merged 1 commit into
percona:mainfrom
nastena1606:fix-syntax-highlighting

Conversation

@nastena1606

Copy link
Copy Markdown
Collaborator

Summary

  • Stop forcing syntax-highlighting tokens inside code blocks to the body text color, so keywords, strings, and comments keep their colors.
  • Same CSS change as percona/k8spg-docs#478.

Test plan

  • Build the docs and open a page with a highlighted code block.
  • Confirm tokens use distinct colors in both light and dark themes.
  • Confirm inline code and buttons still use the body text color.

Made with Cursor

Stop overriding syntax token colors inside highlighted code blocks. Same change as percona/k8spg-docs#478.
@nastena1606
nastena1606 merged commit b681567 into percona:main Dec 3, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants